<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'admintop.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="../css/generalstyle.css">
	

  </head>
  <table align="center" border="0" width="100%" height="20">
  	<tr align="center" >
  		<td height="15" bgcolor="#3388ee" colspan="5">
  			<font color="#f7f7f7" size="5">
  				酒店预订管理
  			</font>
  		</td>
  	</tr>
  	<tr>
  		<td align="center" colspan="5">
  			<%String adname = (String)session.getAttribute("adname"); 
  			if(adname!=null)
  			{
  				out.println("<marquee>管理员"+adname+"您好</marquee>");
  			}%>
  		</td>
  	</tr>
  </table>
  <table align="center" border="0" width="80%">
  	<tr>
  		<td><a href="jsp/adindex.jsp">登录</a></td>
  		<td><a href=servlet/RegAndLoginServlet?action=adlogout>注销</a></td>
  		<td><a href="jsp/adminChangePwd.jsp">修改密码</a></td>
  		<td><a href=servlet/ListServlet?action=admanage>管理员管理</a></td>
  		<td><a href=servlet/ListServlet?action=adminGroup>分组管理</a></td>
  		<td><a href=servlet/ListServlet?action=adminList&&gId=0>资源管理</a></td>
  		<td><a href=servlet/OrderServlet?action=allOrders&&allOrders&&condition=1>订单管理</a></td>
  	</tr>
  </table>
</html> 
